<template>
  <div>"这是一个新闻页面"</div>
</template>
<script>
export default {
  data() {
    return {
      id: 4,
    };
  },
  methods: {
    login() {
      this.$router.push({
        name: "news",
        params: {
          id: this.id,
        },
      });
    },
  },
};
</script>